function toast(title, duration = 1500, icon = 'none') {
  uni.showToast({
    title: title,
    icon: icon,
    mask: false,
    duration: duration
  })
}

export default toast
